package com.wingsoft.homeFlow.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import com.wingsoft.homeFlow.bo.HomeFlowSourceBo;
import com.wingsoft.homeFlow.bo.HomeFlowSourceQo;
import com.wingsoft.homeFlow.bo.HomeFlowSourceVo;
import com.wingsoft.homeFlow.entity.HomeFlowSource;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Wingsoft
 * @description 针对表【HOME_FLOW_SOURCE(流水线数据源)】的数据库操作Service
 * @createDate 2025-05-29 13:32:57
 */
public interface HomeFlowSourceService extends IService<HomeFlowSource> {

    @Transactional
    void add(HomeFlowSourceBo homeFlowSourceBo);

    @Transactional
    void uptById(HomeFlowSourceBo homeFlowSourceBo);

    @Transactional
    void delById(String id);

    Page<HomeFlowSourceVo> page(HomeFlowSourceQo homeFlowSourceQo);

    HomeFlowSourceVo getVoById(String id);

    void connectionTest(HomeFlowSourceBo homeFlowSourceBo);
}
